package com.lg.spring.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;

/**
 * @author by Mr. Li 2020/5/24 17:19
 */
@Data
public class MyConfigBean {

    @Value("${myConfig.myObject.myName}")
    private String name;

    @Value("${myConfig.myObject.myAge}")
    private Integer age;


}
